import defaultSettings from '@/settings'

const title = defaultSettings.title || 'BLOG-WEB-UI'

const getPageTitle = (pageTitle: string): string => {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
export default getPageTitle
